//
//  schoolModel.m
//  uniform
//
//  Created by Apple on 15/8/26.
//  Copyright (c) 2015年 giuseppe. All rights reserved.
//

#import "schoolModel.h"

@implementation schoolModel



static schoolModel *_order;

+(schoolModel *)order
{
    @synchronized ([schoolModel class])
    {
        if (_order == nil)
        {
            _order = [[schoolModel alloc] init];
        }
    }
    return _order;
}



+ (instancetype) initWithDicAttributes:(NSDictionary *)dic {
    
    
    schoolModel *tmp = [[schoolModel alloc] init];
    
    
    if (dic) {

        tmp.schoolId = [dic objectForKey:@"schoolId"];
        tmp.schoolName = [dic objectForKey:@"schoolName"];

    }
    
    
    return tmp;
    
}



@end
